/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.guobo.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.guobo.entity.WarningLog;
import com.thinkgem.jeesite.modules.guobo.dao.WarningLogDao;

/**
 * 预警记录Service
 * @author wudavid
 * @version 2017-03-09
 */
@Service
@Transactional(readOnly = true)
public class WarningLogService extends CrudService<WarningLogDao, WarningLog> {

	public WarningLog get(String id) {
		return super.get(id);
	}
	
	public List<WarningLog> findList(WarningLog warningLog) {
		return super.findList(warningLog);
	}
	
	public Page<WarningLog> findPage(Page<WarningLog> page, WarningLog warningLog) {
		return super.findPage(page, warningLog);
	}
	
	@Transactional(readOnly = false)
	public void save(WarningLog warningLog) {
		super.save(warningLog);
	}
	
	@Transactional(readOnly = false)
	public void delete(WarningLog warningLog) {
		super.delete(warningLog);
	}
	
}